home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / DOSNX20D.ARJ / DOSNIX.DOC < prev    next >
Text File  |  1992-07-25  |  59KB  |  1,969 lines

  1. ~
  2.  
  3.       DOSNIX.DOC (this file) has been keyed for use with HELP.BAT and
  4.     READ.  For on-line help merely type "help" and the name of the subject
  5.     with which you want help.  To search for subjects while in READ, begin
  6.     the search string with a ~ (tilde).
  7.  
  8.       For help from anywhere on your system, READ.EXE and HELP.BAT should 
  9.     be in a directory pointed to by the PATH command and you should put 
  10.     the full path name for DOSNIX.DOC in HELP.BAT.  For example: 
  11.  
  12.             READ +\~%1 C:\DOSNIX\DOSNIX.DOC
  13.  
  14.  
  15.  
  16.                 HELP INDEX
  17.  
  18.  
  19.         Introduction            LS
  20.         General                    MV
  21.         STDIN                    MVDIR
  22.         STDOUT                    READ
  23.         Commands            RM
  24.             APP                 RN
  25.             CAT                SGREP
  26.             CHMOD                SPLIT
  27.             CLR                TEE
  28.             CP                TOLOWER 
  29.             CPDIR                TOUCH
  30.             DB                TOUPPER
  31.         EDC                WC
  32.         FFIND                Registration
  33.         GET
  34.  
  35.  
  36.  
  37. ~introduction
  38.  
  39.  
  40.  
  41.                             DOSNIX ver. 2.0d 
  42.              A Product of Chenango Shoreware
  43.                      Copyr. 1990,1992 by  G. Vrooman
  44.                           All rights reserved.
  45.  
  46.  
  47.         DOSNIX is a collection of UNIX style file management and text
  48.     utilities which will increase the power and flexibility of your
  49.     system.  DOSNIX provides many of the features which UNIX users
  50.     take for granted along with some features not even found on UNIX
  51.     systems.  It is not a UNIX clone but it is very compatible with UNIX 
  52.     conventions.  Users who are familiar with UNIX will have no trouble
  53.     learning DOSNIX.  Other users may find DOSNIX a good tool for learning 
  54.     UNIX.  Some of the programs included with DOSNIX are:
  55.  
  56.  
  57.     CHMOD -    This version of the UNIX CHMOD command has been adapted
  58.              to work with MSDOS file attributes.  It will allow you
  59.              to change the attributes of any file and allow you to
  60.              create read only, hidden and system files.
  61.  
  62.     CLR -      A utility which will allow you to customize your screen 
  63.          colors from the command line.  CLR will work properly with or
  64.          without ANSI.SYS.
  65.  
  66.     CP -       The UNIX counterpart of the DOS COPY command.  CP will
  67.              allow you to copy hidden and system files, and the DOSNIX
  68.              version will not overwrite existing files without warning
  69.              you.  CP can handle wild cards and multiple arguments and
  70.          will even allow you to format a new floppy disk if the first
  71.          one gets filled up.  CP also has options to utilize the archive 
  72.          bit or to copy files interactively.
  73.  
  74.     DB -       The famous "delete but" command will delete all except
  75.              specified files.  This command is not UNIX but it is a
  76.              great tool for cleaning up around ZIP, ARC and other archive
  77.              files.
  78.  
  79.     EDC -      Easy Directory Change.  This utility will allow you to
  80.          change directories without typing out long path names.
  81.          EDC can also be used to display a visual directory tree
  82.          on your screen.
  83.  
  84.     FFIND -    FFIND is a file locator in the tradition of the UNIX FIND
  85.              command.  Although FFIND does not have the power and scope
  86.              of the UNIX version, it is much easier to use.  FFIND will
  87.              locate files on any drive and will accept wild cards.  It
  88.              will also locate hidden and system files and has options
  89.              to remove unwanted files.
  90.  
  91.  
  92.  
  93.  
  94.  
  95.     LS -       The venerable UNIX directory lister.  LS has been spruced 
  96.          up and given another sort and two new display modes.  LS will 
  97.          now display directories sorted by file size as well as name, 
  98.          extension or date.  LS can list files in one, two, four or five 
  99.          column formats, sorted by row or by column, and offers a choice 
  100.          of upper or lower case output.  LS also offers reverse sorting
  101.          and a choice of switch characters. Default options can be set 
  102.          from the environment.
  103.  
  104.  
  105.     MV -       A fast powerful file mover, MV is used to relocate files
  106.              without performing separate COPY and  DEL commands.  MV can
  107.              be used to move files to any directory or to any drive.
  108.  
  109.     MVDIR -    The UNIX directory move utility.  MVDIR will relocate
  110.          complete directory trees and this version will even
  111.          move them to another drive.
  112.  
  113.     READ -     A highly modified version of the UNIX PG or MORE command,
  114.             READ is a handy text file viewer which will recognize both UNIX 
  115.          and keypad commands and will read from STDIN or directly from
  116.          files.  
  117.  
  118.     RM -       More powerful than the DOS DEL command, this utility
  119.              will remove complete directory structures and is great
  120.              for erasing floppies.  Unlike some UNIX versions, RM
  121.              will warn you before doing anything drastic.
  122.  
  123.  
  124.         DOSNIX also includes versions of the CAT, TEE and TOUCH commands.
  125.  
  126.  
  127.  
  128.  
  129. ~general
  130.  
  131.  
  132.     INSTALLING DOSNIX:
  133.  
  134.       DOSNIX is intended primarily for hard drives although    individual 
  135.     DOSNIX utilities can be copied to a floppy disk.  To install DOSNIX 
  136.     on your hard drive you can copy the files to any convenient directory,
  137.     such as C:\DOSNIX and add the directory to the PATH statement in your
  138.         AUTOEXEC.BAT file.  If you don't have an AUTOEXEC.BAT file you can 
  139.     make one with the following two lines:
  140.  
  141.                         PATH = C:;C:\DOSNIX
  142.                         PROMPT $P$G
  143.  
  144.     This will get you up and running with DOSNIX.
  145.  
  146.  
  147.     DOSNIX OPTIONS:
  148.  
  149.       Most DOSNIX commands have a simple format which can be enhanced by 
  150.     the use of UNIX style option strings.  The option string is always 
  151.     the first argument after the command and usually begins with a "-".  
  152.     See the Command Summary for the options available with each command.
  153.  
  154.       If you are used to MSDOS switches and find this awkward you can 
  155.     insert the following line in your AUTOEXEC.BAT file:
  156.  
  157.         SET SWITCH=/     (No space before or after "=")
  158.  
  159.     All commands except CHMOD and READ will then recognize a "/" as an 
  160.     option delimiter.  If you don't use this feature, you can use slashes 
  161.     in path names, as in UNIX, and they will be converted to back slashes.
  162.  
  163.  
  164.  
  165.     INSTANT HELP:
  166.  
  167.       This document has now been keyed for quick command searches and
  168.     a HELP.BAT file has been included.  To obtain on-line help, type 
  169.     "help" and the name of the subject with which you want help.  In
  170.     addition, a brief summary of most commands can be obtained by typing 
  171.     the name of the command followed by a "-?". 
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.     USING DOSNIX:
  179.  
  180.       DOSNIX is based on UNIX although the author has simplified some 
  181.     commands and enhanced others.  Other commands have been modified
  182.     slightly to make them more compatible with MSDOS. If you are familiar 
  183.     with UNIX you should have no problem with DOSNIX. If you are not 
  184.     familiar with UNIX, books on the subject are available in most book 
  185.     stores.  My own personal favorite, if you can still find it, is:
  186.  
  187.                 UNIX SYSTEM V PRIMER
  188.                 Waite, Martin & Pratha
  189.                 Howard W. Sams & Co., Inc.
  190.  
  191.     This book offers a lightly humorous treatment of UNIX and much of it 
  192.     is applicable to DOSNIX.
  193.  
  194.       DOSNIX has a great many options and features, which can be 
  195.     bewildering to the novice user.  Pick out the commands and options 
  196.     you need the most and get familiar with them before moving on.  LS 
  197.     is a great directory lister and it is a lot fun to play around with, 
  198.     but the -l option is all most people  will ever need.  The same is 
  199.     true with other commands. The options are there if you need them but 
  200.     don't feel you need to learn every one.
  201.  
  202.       You can experiment with DOSNIX by making a scratch directory or 
  203.     floppy and playing around with different commands. This procedure is 
  204.     highly recommended for destructive commands such as RM and DB.
  205.  
  206.  
  207.     COMPATIBILITY:
  208.  
  209.       DOSNIX was written and tested using an XT clone with Phoenix BIOS 
  210.     and MSDOS 3.1 and 3.3.  It was written very conservatively and should 
  211.     be upwardly compatible with with MSDOS 4.x, 5.x and most AT and 386
  212.     class machines.  Compatibility with MSDOS 2.x is not guaranteed.
  213.     Some utilities, such as READ and CLR, use BIOS level screen and 
  214.     keyboard functions and require an IBM compatible BIOS.  Because all 
  215.     utilities use small or medium memory models, they should not require 
  216.     more than 256k of memory to run. 
  217.  
  218.  
  219.     NOTE:
  220.  
  221.     UNIX is a registered trademark of AT&T Corporation.
  222.     MSDOS is a registered trademark of Microsoft Corporation.
  223.  
  224.  
  225.  
  226. ~stdin  ~stdout
  227.  
  228.  
  229.             STANDARD INPUT (STDIN) AND STANDARD OUTPUT (STDOUT)
  230.  
  231.  
  232.       DOSNIX utilities make extensive use of STDIN and STDOUT.  STDIN
  233.     is the keyboard unless you decide to redirect it.  STDOUT is the
  234.     screen unless you decide to redirect it.  Redirection is done by
  235.     using the MSDOS operators; <, >, >> and |.
  236.  
  237.     <     used with a program that normally reads from STDIN.  It 
  238.         tells MSDOS to use the contents of a file for STDIN.
  239.         For example: 
  240.  
  241.             more < dosnix.doc
  242.  
  243.           
  244.     >    writes STDOUT to a file.  For example:
  245.  
  246.             cat dosnix.doc
  247.  
  248.         writes DOSNIX.DOC to the screen, while
  249.  
  250.             cat dosnix.doc > another.doc
  251.  
  252.         copies DOSNIX.DOC to ANOTHER.DOC.
  253.  
  254.  
  255.     >>    appends STDOUT to an existing file or writes STDOUT
  256.         to a new file.  For example:
  257.  
  258.             cat quickref.doc >> dosnix.doc
  259.  
  260.         appends QUICKREF.DOC to DOSNIX.DOC.  Unfortunately
  261.         this operator will leave an unwanted CTRL-Z between
  262.         the two files.  For this reason, DOSNIX includes an 
  263.         APP command.
  264.  
  265.  
  266.     |    The pipeline operator. Uses STDOUT as STDIN for a
  267.         second program.  For example:
  268.  
  269.             cat *.doc | read
  270.  
  271.         pipes all files with an extension of .DOC to READ.
  272.  
  273.  
  274.  
  275.       UNIX and DOSNIX provide an additional command, TEE, which
  276.     will write STDOUT to the screen and store it in a file at
  277.     the same time.  For example:
  278.  
  279.             cat dosnix.doc | tee another.doc
  280.  
  281.     writes DOSNIX.DOC to the screen and stores it in ANOTHER.DOC.
  282.  
  283.  
  284.  
  285. ~commands
  286.  
  287.  
  288.                         LIST OF DOSNIX COMMANDS
  289. -------------------------------------------------------------------------------
  290.  
  291.  
  292.         APP             append standard input to file(s).
  293.  
  294.         CAT             Copy text file(s) to standard output.
  295.  
  296.         CHMOD           Modify attribute(s) of file.
  297.  
  298.         CLR             Set screen foreground, background and border colors.
  299.  
  300.         CP              Copy file to new file or directory.
  301.  
  302.         CPDIR           Copy directory and all subdirectories. *
  303.  
  304.         DB              Delete all files except specified files.
  305.  
  306.     EDC        Easy Directory Change.
  307.  
  308.         FFIND           Find all copies of file in specified path.
  309.  
  310.         GET             Find all filenames containing specified string. *
  311.  
  312.         LS              List contents of directory.
  313.  
  314.         MV              Move file to new file or directory.
  315.  
  316.         MVDIR           Move directory and all subdirectories to new location.
  317.  
  318.         READ            Display text file in page format.
  319.  
  320.         RM              Remove file(s).
  321.  
  322.         RN              Rename file or directory.
  323.  
  324.     SGREP        Search  text file(s) for specified string. *
  325.  
  326.     SPLIT        Split a text file into several smaller files. *
  327.  
  328.         TEE             Copy standard input to standard output and file(s).
  329.  
  330.         TOLOWER         Convert standard input to lower case.
  331.  
  332.         TOUCH           Modify file time and date.
  333.  
  334.         TOUPPER         Convert standard input to upper case.
  335.  
  336.     WC        Count lines, words and characters in a file. *
  337.  
  338.  
  339.         * Enhanced version
  340.  
  341.  
  342.  
  343.  
  344.  
  345.                         SUMMARY OF DOSNIX COMMANDS
  346. ------------------------------------------------------------------------------
  347. ~app
  348.  
  349.  
  350.     NAME:
  351.  
  352.     APP     Append standard input to file.
  353.  
  354.  
  355.     SYNTAX:
  356.  
  357.     app  file1 [file2..file5]               Appends standard input to up 
  358.                         to five files.
  359.  
  360.  
  361.  
  362.     DESCRIPTION:
  363.  
  364.       APP is a non-UNIX command meant to replace the DOS ">>" operator.  
  365.     Using ">>" to append files will not remove the CTRL-Z from the end of 
  366.     the first file before appending, but using APP will.  APP can be  used
  367.     with the dos "|" operator and any command which writes to standard 
  368.     output.  For example:
  369.  
  370.                 cat file1 file2 | app file3
  371.  
  372.     appends the output of CAT to file3.  See CAT.
  373.  
  374.                 app < file1 file2     
  375.  
  376.     appends file1 to file2.
  377.  
  378.     WARNING:  Do not use "app < file1 > file2".  This will erase file2.
  379.  
  380.     APP is meant for use with text files only and use with binary files 
  381.     is not recommended.
  382.  
  383.  
  384.  
  385. ~cat
  386.  
  387.  
  388.     NAME:
  389.  
  390.     CAT     Copy text file(s) to standard output.
  391.  
  392.  
  393.     SYNTAX:
  394.  
  395.  
  396.     cat                             Copies standard input to standard 
  397.                     output.
  398.  
  399.     cat file1                       Copies file1 to standard output. 
  400.                     Usually the screen.
  401.  
  402.     cat file1 file2 > file3         Concatenates file1 and file2 and 
  403.                     stores in file3.
  404.  
  405.  
  406.  
  407.  
  408.     DESCRIPTION:
  409.  
  410.       CAT reads one or more files and copies them to STDOUT.  If no input 
  411.     file is given, CAT will read STDIN until a CTRL-Z is found.  For 
  412.     example:
  413.  
  414.                         cat *.c > csource.txt
  415.  
  416.     will concatenate all files with an extension of .C and store
  417.     them in CSOURCE.TXT.
  418.  
  419.                         cat file1 file2 | app file3
  420.  
  421.     concatenates file1 and file2 and appends the result to file3.
  422.  
  423.                         cat > temp
  424.  
  425.     stores whatever is typed on the keyboard in TEMP and is similar to the 
  426.     DOS command COPY CON TEMP.  CTRL-Z can be used to terminate this 
  427.     operation.
  428.  
  429.     Some versions of CAT will copy the CTRL-Z at the end of    each file, 
  430.     leaving you stuck with a lot of unwanted CTRL-Z's in your new file.  
  431.     This version wont.
  432.  
  433.     CAT is meant for use with text files only and use with binary files 
  434.     is not recommended.
  435.  
  436.  
  437.  
  438. ~chmod
  439.  
  440.  
  441.     NAME:
  442.  
  443.     CHMOD   Change attribute(s) of a file.
  444.  
  445.  
  446.     SYNTAX:
  447.  
  448.     chmod [+x] file1                Adds attribute x to file1
  449.  
  450.     chmod [-x] file1                Removes attribute x from file1
  451.  
  452.  
  453.  
  454.     ATTRIBUTES:
  455.  
  456.     +a                              Set archive bit.
  457.     -a                              Clear archive bit.
  458.     +h                              Add hidden attribute.
  459.     -h                              Remove hidden attribute.
  460.     +r                              Add read only attribute.
  461.     -r                              Remove read only attribute.
  462.     +s                              Add system attribute.
  463.     -s                              Remove system attribute.
  464.  
  465.  
  466.  
  467.     DESCRIPTION:
  468.  
  469.       CHMOD is used to modify the attributes of a file.  Attributes can 
  470.     be grouped together in any sequence but each attribute must be 
  471.     preceded by a "+" or a  "-".  For example:
  472.  
  473.                         chmod -a *.*
  474.  
  475.     removes the archive bit from all files in the current directory,
  476.  
  477.                         chmod -a+r list.txt
  478.  
  479.     removes the archive bit and makes LIST.TXT read only,
  480.  
  481.                         chmod +h+s widget.com
  482.  
  483.     makes WIDGET.COM a hidden, system file.
  484.  
  485.  
  486.  
  487. ~clr
  488.  
  489.  
  490.     NAME:
  491.  
  492.     CLR   Set foreground, background and border colors.
  493.  
  494.  
  495.  
  496.     SYNTAX:
  497.  
  498.     clr                Clears screen without resetting 
  499.                     attributes.
  500.  
  501.     clr [-ab] fgnd [bkgnd [brdr]]   Sets screen foreground, background
  502.                     and border colors.
  503.  
  504.  
  505.     OPTIONS:
  506.  
  507.         
  508.     a        ANSI compatible mode.
  509.                 
  510.     b               Set foreground Bold attribute to ON.
  511.  
  512.  
  513.  
  514.     DESCRIPTION:
  515.  
  516.       CLR sets the screen foreground, background and border colors to 
  517.     those specified by the user.  The following colors are supported:
  518.  
  519.         BLACK   RED     GREEN   YELLOW  AMBER
  520.  
  521.         BLUE    MAGENTA CYAN    WHITE
  522.  
  523.     Because yellow is high intensity amber, it is impossible to have a 
  524.     yellow background.  Border colors will vary with the type of monitor.
  525.  
  526.       If only a foreground color is specified the background color 
  527.     defaults to black.  The border color always defaults to the background 
  528.     color.  To change the background color you need to specify the 
  529.     foreground color.  To change the border color you need to specify 
  530.     foreground and background colors.
  531.  
  532.       For ease of use CLR will recognize the first three letters of any 
  533.     color name.  For example:
  534.  
  535.                         clr yel
  536.  
  537.     sets the foreground color to yellow with a black background and border,
  538.  
  539.                         clr whi blu
  540.  
  541.     sets the foreground color to white and the background and border 
  542.     colors to blue, and
  543.  
  544.                         clr red whi red
  545.  
  546.     sets the foreground color to red, the background color to white and 
  547.     the border color to red.
  548.  
  549.  
  550.  
  551.  
  552.  
  553.       The -b option sets the intensity of the foreground color to high.  
  554.     For example:
  555.  
  556.                         clr -b red
  557.  
  558.     sets the foreground color to high intensity red.
  559.  
  560.       If the screen is cleared after using CLR, and ANSI.SYS is not 
  561.     installed, the screen will return to normal. This can be avoided by 
  562.     using CLR without arguments to clear the screen, or by installing 
  563.     ANSI.SYS.
  564.  
  565.       If ANSI.SYS is installed, CLR will detect it and generate the needed 
  566.     escape codes.  A -a option has been provided to force ANSI mode if 
  567.     needed.  
  568.  
  569.  
  570.  
  571.  
  572. ~cp
  573.  
  574.  
  575.     NAME:
  576.  
  577.     CP      Copy file to new file or directory.
  578.  
  579.  
  580.  
  581.     SYNTAX:
  582.  
  583.     cp [-abcfinopstv] file1 file2    Copies file1 to file2
  584.  
  585.  
  586.         cp [-abcfinopstv] file1 [file2..filen] dir
  587.  
  588.                     Copies any number of files to 
  589.                     directory.
  590.  
  591.         cp [-abcfinopstv] dir1 dir2      Copies files in dir1 to dir2.
  592.  
  593.     cp -m source dest1 [dest2..destn]
  594.  
  595.                           Makes multiple copies of source.
  596.                     Destination may  be  either file or
  597.                     directory.
  598.  
  599.  
  600.     OPTIONS:
  601.  
  602.     a               Copy hidden and system files.  Prompt
  603.                         before overwriting protected files.
  604.         b               Copy only files with archive bit set.
  605.         c               Clear archive bits after copying.
  606.         f               Copy hidden and system files.  Overwrite
  607.                         protected files without prompting.
  608.         i               Interactive mode. Prompts before copying.
  609.         m               Make multiple copies of single file.
  610.         n               No delete. Do not overwrite existing files.
  611.         o               Overwrite existing files without prompting.
  612.                         Does not overwrite protected files.
  613.         p               Preserve file attributes when copying.
  614.         s               Copy files without echoing to screen.
  615.         t               Update file time and date when copying.
  616.         v               Verify files when copying.
  617.  
  618.  
  619.  
  620.     DESCRIPTION:
  621.  
  622.       CP copies one or more files to a new file or directory. If more 
  623.     than one source file is specified or wildcards are used, the last  
  624.     argument must specify an existing directory or an error  will  occur. 
  625.     If a directory is used as a source, all files in the directory will 
  626.     be copied but subdirectories will not be copied.
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.       Each file is echoed to the screen as it is copied and existing  
  634.     files  are not overwritten  without prompting.  If an existing file 
  635.     is protected the user will be notified and prompted a second time 
  636.     before the file is overwritten. Options are provided to override 
  637.     these features when desired.
  638.  
  639.       If a Disk Full error occurs while copying files to a removable 
  640.     device, CP will prompt the user for a new diskette.  The user may 
  641.     either continue, format a new disk or abort at this point.  If a new 
  642.     disk is inserted, CP will create the directory if needed. To format 
  643.     disks, CP needs    to access COMMAND.COM and FORMAT.COM, so set COMSPEC 
  644.     to point to your copy of COMMAND.COM and make sure FORMAT.COM is in a 
  645.     directory pointed to by PATH.
  646.  
  647.       The -i option will prompt the user for a yes or no answer before 
  648.     copying each file.  Used with wildcards or directory names this option 
  649.     provides an interactive method of copying files.
  650.  
  651.       Hidden and system files can be copied using the -a option or the 
  652.     -f option.  If the -f option is used all existing files, even 
  653.     protected files, will be overwritten without prompting the user.
  654.  
  655.       The -o option can be used overwrite existing files but will not 
  656.     overwrite protected files.  If the -n option is used, no files will 
  657.     be overwritten and the user will not be prompted.  The -n option 
  658.     overrides all other options in this respect.
  659.  
  660.       If the -s option is used, files will not be echoed to the screen 
  661.     when copying.  This option can be used with the -o, -f or -n options 
  662.     when no screen output is desired.
  663.  
  664.       Unlike the MV command, file attributes are not carried over and
  665.     the archive bit of the new file is set. The -p option can be used 
  666.     to preserve the attributes of the old file.
  667.  
  668.       In normal use CP will carry over the time and date of the old
  669.     file.  If the -t option is used, the new file will be stamped
  670.     with the current DOS time and date.
  671.  
  672.       A -v option has been added to turn on the DOS verify flag before
  673.     copying.  When the copy is complete the verify flag is restored
  674.     to its former state.
  675.  
  676.  
  677.  
  678.  
  679.  
  680.       CP can be used for backups with the -b option.  When this option 
  681.     is used, only  archive files are copied.  The -c option will clear 
  682.     the archive bit on both files after the copy is made.  For example:
  683.  
  684.             cp -bco *.* a:\
  685.  
  686.     copies only files in the current directory which have not been backed 
  687.     up.  The archive bits are cleared and any previously existing files 
  688.     on drive A are overwritten.
  689.  
  690.       Sometimes it is  necessary to  copy a  file to  several different 
  691.     drives or directories.  CP can be used with the  -m option to make 
  692.     as many copies of a file as needed.
  693.  
  694.  
  695.  
  696. ~cpdir
  697.  
  698.  
  699.     NAME:
  700.  
  701.     CPDIR   copy directory and all subdirectories. *
  702.  
  703.  
  704.  
  705.  
  706.         * Enhanced version only.
  707.  
  708.  
  709.  
  710. ~db
  711.  
  712.  
  713.     NAME:
  714.  
  715.     DB      Delete all files except specified files.
  716.  
  717.  
  718.     SYNTAX:
  719.  
  720.     db file1..filen                 Deletes all files in directory
  721.                                                 except specified files.
  722.  
  723.  
  724.     OPTIONS:        None
  725.  
  726.  
  727.  
  728.     DESCRIPTION:
  729.  
  730.       DB will delete all files in a directory except the files given as 
  731.     an argument.  Wildcards can be used in arguments but path names are 
  732.     not supported.  DB can only be used in the current directory.  For 
  733.     example:
  734.  
  735.                         db *.zip
  736.  
  737.     will delete all files that do not have an extension of .ZIP and, 
  738.     in fact, DB is an excellent tool for cleaning up around ZIP files 
  739.     and other archives.
  740.  
  741.       DB works by assigning a +h attribute to the specified files and 
  742.     then removing all normal files.  The remaining files are then 
  743.     "unhidden".  This can cause a problem  with previously existing 
  744.     hidden files.  If DB encounters any hidden files it, will safely 
  745.     abort leaving the directory unchanged.  You will then have to use RM.
  746.  
  747.         WARNING: DB can be a deadly weapon if used carelessly.  Use it only 
  748.     when you are sure of what you are doing.
  749.  
  750.  
  751.  
  752.  
  753. ~edc
  754.  
  755.  
  756.     NAME:
  757.  
  758.     EDC    Easy Directory Change
  759.  
  760.  
  761.     SYNTAX:
  762.  
  763.     edc [-options] [d:]dir1            Changes directory to dir1.
  764.     edc -rn dir1 dir2            Renames dir1 to dir2.
  765.  
  766.  
  767.     OPTIONS:
  768.  
  769.     k    Do not pause when screen is full.
  770.     l    Scan drive and list directories.
  771.     m    Create directory and update path file.
  772.     n    Display directory tree without graphics.
  773.     q    Quick scan.  Do not look for extensions.
  774.     r    Remove directory and update path file.
  775.     rn    Rename directory and update path file.
  776.     s    Scan drive. No screen output.
  777.     t    Display directory tree with graphics.
  778.     ?    Display help screen.
  779.  
  780.  
  781.  
  782.     DESCRIPTION:
  783.  
  784.       EDC allows you to change directories by entering only the directory 
  785.     name rather than the whole path name.  For example, if you have a 
  786.     directory  named \MODEM\FILES\ZIP you can reach the directory 
  787.     from anywhere on your drive by entering:
  788.  
  789.             edc zip
  790.  
  791.     instead of:
  792.  
  793.             cd \modem\files\zip
  794.  
  795.     EDC can also find directories if given just the first few letters of  
  796.     the name.  If  you  have a directory named \GAMES\POKER\BIGDECK, 
  797.     entering:
  798.  
  799.             edc big
  800.  
  801.     will  find it.
  802.  
  803.           If  EDC finds  more than one directory with the same name, it 
  804.     will display all directories found and  prompt you  to choose one.
  805.     A new menu has been installed with both a selector bar and a speed
  806.         search feature.  To use speed search, enter the next letter of the
  807.     directory name to narrow the search or use the backspace key to
  808.     widen the search.
  809.  
  810.  
  811.  
  812.  
  813.  
  814.       EDC will locate directories on any hard drive without using a 
  815.     drive spec.  To change to a directory on a floppy  drive, or just
  816.     to speed things up, you can enter the drive spec along with the 
  817.     directory name with no space or slash between them.  For example 
  818.     if you are currently using drive C and you wish to change to 
  819.     B:\GAMES\BOARD\CHECKERS you can enter:
  820.  
  821.             edc b:checkers
  822.         or
  823.  
  824.             edc b:check
  825.  
  826.     A drive spec can be terminated by a semicolon as well as a colon.
  827.     This allows you to change drives without hitting the shift key.
  828.     For example:
  829.  
  830.             edc b;check
  831.  
  832.  
  833.       To install EDC, copy EDC.EXE to the root directory of your boot 
  834.     drive or to any directory pointed  to by the DOS PATH parameter. 
  835.     Then enter:
  836.  
  837.             edc -s
  838.  
  839.        EDC will scan all hard drives for directories and store    them in  
  840.     a file named PATH.EDC which is maintained in the root directory of
  841.     drive C.  Because EDC refers to this file to find directories, 
  842.     it should not be removed.  To scan floppy drives you can enter:
  843.  
  844.             edc -s d:
  845.  
  846.     where "d" is the letter of the drive you are scanning. 
  847.  
  848.  
  849.        If EDC does not find a copy of PATH.EDC when changing directories,
  850.     it will automatically scan the drive for you.  The -s option can 
  851.     be used for updates.  You can lock out undesired drives by setting 
  852.     the environment    variable EDNOSCAN to the letters of the drives that 
  853.     you want to ignore.  For example:
  854.  
  855.             set ednoscan=df
  856.  
  857.     will cause EDC to ignore drives D and F.  
  858.  
  859.  
  860.       If a full path name or one of the standard  DOS directory symbols 
  861.     ("\",  "." or "..") is given, EDC will change directories immediately
  862.     without checking PATH.EDC.
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.       If the -t option is used, EDC will display the directory tree 
  870.     on your screen while it    is scanning.  The screen will pause after 
  871.     displaying each page of information and give you an opportunity
  872.     to choose a directory.  PATH.EDC will not be updated unless the 
  873.     -k option is used.  For redirection to non-IBM printers, the -n 
  874.     option will display the directory tree without using graphics 
  875.     characters.  The -l option will display a list of directories 
  876.     instead of a tree.  
  877.  
  878.       The -l, -n, and -t options are different from the -s option
  879.     in one respect.  If no drive is specified only the current 
  880.     drive will be scanned.  If the -s option is combined with any
  881.     of these options all hard drives will be scanned.
  882.  
  883.  
  884.       If none of your directory names have extensions you can use
  885.     the -q option with any of the above options for quicker scans.
  886.     For example:
  887.  
  888.             edc -sq    or    edc -tq
  889.  
  890.  
  891.      The -m and -r options can be used to create and remove directories.
  892.     Rules for path names are the same as for DOS and PATH.EDC will be 
  893.     updated after each change.  A -rn option has been added to rename 
  894.     directories.  Old and new directories should be be in the same parent 
  895.     directory.  If other commands are used to create and remove 
  896.     directories you will have to rescan the affected drive.
  897.  
  898.  
  899.     NOTE: EDC uses the MSDOS LASTDRIVE parameter to determine the 
  900.     number of available drives on your system.  For best performance 
  901.     insert the following line in CONFIG.SYS:
  902.  
  903.             LASTDRIVE = x
  904.  
  905.         where x is the letter of your last logical drive.
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912. ~ffind
  913.  
  914.  
  915.     NAME:
  916.  
  917.     FFIND   Find all copies of file in specified path.
  918.  
  919.  
  920.     SYNTAX:
  921.  
  922.     ffind [-abdfiklmnr?] [+-=date] [path] filename    
  923.  
  924.                         Finds all files in path with
  925.                             the same name.
  926.  
  927.     ffind -e "command {}" [+-=date] [path] filename   
  928.  
  929.                         Executes DOS command when each
  930.                         file is located.
  931.  
  932.     OPTIONS:
  933.  
  934.     a               Include hidden and system files in search.
  935.         b               Batch mode, disable warning prompt.
  936.         d               Include directories in search.
  937.     e        Execute DOS command.
  938.         f               Include floppy drives in search.
  939.         i               Remove files interactively.
  940.     k        No highlights or screen pauses.
  941.         l               Display in long format, showing
  942.                         attributes, size, time and date.
  943.         m               Display totals for each directory.
  944.     n        Display output in lower case.
  945.         r               Remove files when found.
  946.         ?               Display help screen.
  947.  
  948.  
  949.  
  950.     DESCRIPTION:
  951.  
  952.       FFIND will search the specified path for all copies of a given 
  953.     file.  "path" should be a valid directory name or drive spec. If 
  954.     "path" is omitted the search will begin from the root directory of 
  955.     the current drive.  If "*:" is used for a path FFIND will search all 
  956.     available hard drives. Wild cards can be used in file names and all 
  957.     subdirectories will be searched. For example:
  958.  
  959.                 ffind *.bak
  960.         or
  961.                 ffind \ *.bak
  962.  
  963.         will search the entire current drive for all files named with
  964.         an extension of .BAK.
  965.  
  966.                 ffind d: temp
  967.  
  968.         will search all of drive D for all files named TEMP,
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.                 ffind *: temp
  976.  
  977.         will search all hard drives for all files named TEMP, and
  978.  
  979.  
  980.         ffind \games poker.exe
  981.  
  982.         will search the directory \GAMES and all subdirectories for all files 
  983.     named POKER.EXE.
  984.  
  985.  
  986.       The -r option will delete files when found.  For example:
  987.  
  988.         ffind -r c:\ *.bak
  989.  
  990.     will search drive c for all files with an extension of .BAK and 
  991.     remove them.  The -i option is similar to the -r option except that 
  992.     the user is prompted before each file is removed.  The -r option 
  993.     provides an initial warning prompt before execution.  If you ever 
  994.     type "-r" when you really  meant to type "-l" you will appreciate 
  995.     the need for this.  The -b option will override this feature for 
  996.     unattended batch file operation.  This option is intended for use in
  997.     batch files only.  Don't use it from the keyboard, or some day you 
  998.     will type in "ffind -rb" when you least intend to.  
  999.  
  1000.       FFIND will locate hidden and system files with the -a option  but 
  1001.     the -r option cannot be used to remove protected files.  Use the -i 
  1002.     option to remove these files.
  1003.  
  1004.           The -l option can be used to display complete information on each 
  1005.     file located and the -k option will disable highlights and screen
  1006.     pauses, allowing the output to be redirected.
  1007.  
  1008.       The -m option will display the total number of matching files in 
  1009.     each directory along with the total number of bytes used.  For 
  1010.     example:
  1011.  
  1012.         ffind -almk c:\ *.* > disk.map
  1013.  
  1014.     will create a complete usage map of the user's hard disk and store 
  1015.     it in DISK.MAP.
  1016.  
  1017.       When "*:" is used as a drive spec, FFIND will ignore floppy drives 
  1018.     unless the -f option is used.  This eliminates the annoying wait
  1019.     on empty floppy drives.  Floppy drives can still be searched
  1020.     directly without using the -f option.
  1021.  
  1022.       A semicolon can now be used to terminate a drive spec in place
  1023.     of a colon.  In addition FFIND will consider ";;" equivalent to
  1024.     "*:" and search all drives.  These modifications save a few
  1025.     key strokes.
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.     NOTE: FFIND uses the MSDOS LASTDRIVE parameter to determine the 
  1032.     number of available drives. If FFIND attempts to search non-existent 
  1033.     drives insert the following line in CONFIG.SYS:
  1034.  
  1035.             LASTDRIVE = x
  1036.  
  1037.         where x is the letter of your last logical drive.
  1038.  
  1039.  
  1040.        FFIND can also locate files based on date.  The date parameter
  1041.     should be entered after any switches and before the path and file 
  1042.     arguments.  The date should be preceded by a "+", "-" or "=".
  1043.     For example:
  1044.  
  1045.             ffind -07/04/91 *.*
  1046.  
  1047.     will locate all files created or modified since July 4th, 1991.
  1048.     
  1049.             ffind -l +07/04/1991 *.txt
  1050.  
  1051.     will locate all  .TXT files older than July 4th, 1991 and display
  1052.     them in long format.
  1053.  
  1054.             ffind -r =07/04/1991 d; *.* 
  1055.  
  1056.     will locate and remove all files on drive D which are dated
  1057.     July 4th, 1991. 
  1058.  
  1059.         FFIND can locate files by number of days back as well as 
  1060.     actual date.  For example:
  1061.  
  1062.             ffind =5 *.*
  1063.  
  1064.     will locate all files created exactly five days ago and 
  1065.  
  1066.             ffind -5 *.* 
  1067.  
  1068.     will locate all files newer than five days.
  1069.  
  1070.  
  1071.  
  1072.       FFIND now has a -e option which will cause the program to shell 
  1073.     to DOS and execute a command whenever a file is located.  The name 
  1074.     of the located file can be parsed into the command argument by 
  1075.     inserting a pair of braces wherever you want the file to be used.  
  1076.     For example:
  1077.  
  1078.             ffind -e "pkunzip {}" *.zip
  1079.  
  1080.     would unzip all the ZIP files on the current drive.  If a null
  1081.     argument is used,  FFIND will shell to DOS in the directory in
  1082.     which the file is located, giving you an opportunity to do
  1083.     whatever you want.  For example:
  1084.  
  1085.                 ffind -e "" test.txt
  1086.  
  1087.  
  1088. ~get
  1089.  
  1090.  
  1091.     NAME:
  1092.  
  1093.     GET     Find all file names containing specified string. *
  1094.  
  1095.  
  1096.  
  1097.  
  1098.         * Enhanced version only.
  1099.  
  1100.  
  1101.  
  1102. ~ls
  1103.  
  1104.  
  1105.     NAME:
  1106.  
  1107.     LS      List contents of directory.
  1108.  
  1109.  
  1110.     SYNTAX:
  1111.  
  1112.       ls [-124acdefklnprtuxz?] [dir1]..[dirn]   Displays contents of dir1..dirn
  1113.  
  1114.       ls [-124acdefklnprtuxz?] [fil1]..[filn]   Lists fil1..filn
  1115.  
  1116.  
  1117.  
  1118.     OPTIONS:
  1119.  
  1120.     1               Display one entry per line.
  1121.     2        Display two entries per line with size and date.
  1122.     4        Display four entries per line showing size only.
  1123.         a               Display hidden and system files.
  1124.         c               Display files sorted down each column.
  1125.     d        Display file totals and free disk space. 
  1126.         e               Sort file names by extension.
  1127.         f               Display files only. Omit directories.
  1128.         k               Do not pause when screen is full.
  1129.         l               Display files in long format, showing
  1130.                         name, attributes, size, time and date.
  1131.     n        Display file names in lower case.
  1132.         p               Put a back slash after each subdirectory.
  1133.         r               Reverse order of sort.
  1134.         t               Sort files by time and date.
  1135.         u               Do not sort files.
  1136.     x        Display files sorted across screen.
  1137.     z        Sort files by size.
  1138.         ?               Display help screen.
  1139.  
  1140.  
  1141.  
  1142.     DESCRIPTION:
  1143.  
  1144.       LS displays the contents of a directory sorted across the screen 
  1145.     in five columns.  The arguments can be either files or directories. 
  1146.     If wildcards are used, all matching files will be listed.  Multiple
  1147.     arguments are accepted and more than one directory can be displayed.
  1148.     If no arguments are used, the contents of the current directory will
  1149.     be displayed.  If no options are used, -xpd will be assumed and file 
  1150.     totals will be displayed at the bottom of the listing.
  1151.  
  1152.           The -x option will display files sorted across the screen and
  1153.     is used in the default mode. The -c option will display files sorted 
  1154.     down each column rather than across each row.  If the  -1 (one) option 
  1155.     is used, one entry per line is displayed showing only the file name.
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.       If the -l option is used, one entry per line is displayed, showing 
  1163.     name, attributes, size of file in bytes, and time and date of last 
  1164.     modification.  A modified DOS format is used which is more readable 
  1165.     than the standard UNIX format.  Attributes displayed in this format 
  1166.     are:
  1167.  
  1168.                         <DIR>           Subdirectory.
  1169.                         A               Archive bit is set.
  1170.                         R               File is read only.
  1171.                         H               File is hidden.
  1172.                         S               File is system.
  1173.  
  1174.     At the  end of each display the size of the directory in bytes is
  1175.     shown. The size of any subdirectories is not included in this figure.
  1176.     Also shown is the remaining disk space.
  1177.  
  1178.       LS now has two new display formats.  The -2 option will display
  1179.     two entries per line showing file size and date and the -4 option
  1180.     will display four entries per line showing size only.  In these
  1181.     two modes the files are sorted down each column.  The -x option
  1182.     can be combined with either of these options to display files
  1183.     sorted horizontally.
  1184.  
  1185.  
  1186.           LS will pause after displaying one page of information. Typing "q" 
  1187.       at this point will terminate the program. Typing any other key will  
  1188.     continue the display.  The -k option will suppress this feature and 
  1189.     provide a continuous output which can be  redirected.  In addition,
  1190.     the -k option will eliminate any graphics characters, allowing the
  1191.     output to be redirected to a non-IBM printer.
  1192.  
  1193.  
  1194.       If the -a option is used, any hidden or system files contained in 
  1195.     the directory are also displayed.  The -f option will display file
  1196.     names only and omit any subdirectories.  The -p option will append a 
  1197.     back slash  to the end of each subdirectory name, allowing the user 
  1198.     to distinguish between files and  subdirectories.  This option will
  1199.     not work with the -l option.  
  1200.  
  1201.  
  1202.       The -t option will will sort files by time and date and can be used 
  1203.     with the -r option to display newest files first.  The -e option 
  1204.     will sort file names by extension and the -u option will provide 
  1205.     unsorted output if so desired.
  1206.  
  1207.  
  1208.       The -d option can be used to to display file totals at the end
  1209.     of each directory and the -n option will provide lower case output 
  1210.     if needed.
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.       LS can  be custom configured by setting the environment
  1217.     variable "LSCFG" to the desired options.  For example:
  1218.  
  1219.             set lscfg=le
  1220.  
  1221.     will cause LS to default to the long format, with files sorted by 
  1222.     extension, unless an option is specified on the command line. 
  1223.  
  1224.  
  1225.       LS is now EDC compatible.  If EDC is installed, LS will accept 
  1226.     partial directory names. LS will first look for an immediate directory
  1227.     with the specified name.  If no directory is found it will check 
  1228.     PATH.EDC for any matches.  If no matches are found it will then check
  1229.     for a file with the given name.  When using this feature the user is
  1230.     limited to one argument.  If more than one directory is specified on 
  1231.     the command line, PATH.EDC will not be searched.  This feature has 
  1232.     been made invisible so that LS can still be used as a stand-alone 
  1233.     directory lister.  As a result no error messages relating to EDC or 
  1234.     PATH.EDC will be displayed.
  1235.  
  1236.  
  1237.           This version of LS will not recursively list subdirectories but 
  1238.     the FFIND command can be used to obtain the same result.  For
  1239.     example:
  1240.  
  1241.         ffind -lm dirname *.*
  1242.  
  1243.         ffind -lm . *.*
  1244.  
  1245.  
  1246.  
  1247. ~mv
  1248.  
  1249.  
  1250.     NAME:
  1251.  
  1252.     MV      Move file(s) to new file or directory.
  1253.  
  1254.  
  1255.     SYNTAX:
  1256.  
  1257.     mv [-afnost?] file1 file2       Moves (renames) file1 to file2.
  1258.  
  1259.     mv [-afnost?] file1 [file2..filen] dir1
  1260.  
  1261.                     Moves any number of files to dir1.
  1262.  
  1263.     mv dir1 dir2                    Renames dir1 to dir2. dir1 and dir2 
  1264.                     must be in the same parent directory.
  1265.  
  1266.  
  1267.     OPTIONS:
  1268.  
  1269.     a               Move read only, hidden and system files.
  1270.                         Prompt before overwriting protected files.
  1271.         f               Move and overwrite all files without prompting.
  1272.         i               Interactive mode. Prompt before moving.
  1273.         n               No delete. Do not overwrite existing files.
  1274.         o               Overwrite existing files without prompting.
  1275.         s               Move files without echoing to screen.
  1276.         t               Update file time and date when moving.
  1277.         ?               Display help screen.
  1278.  
  1279.  
  1280.     DESCRIPTION:
  1281.  
  1282.       MV moves one or more files to a new file or directory. If more than 
  1283.     one source file is specified or wildcards are used, the last argument
  1284.     must  specify  an existing directory or an error will occur.  If a 
  1285.     directory is used as a source, all files in the directory will be
  1286.         moved but subdirectories will not be moved.
  1287.  
  1288.       Each file is echoed to the screen as it is moved and existing files
  1289.     are not overwritten  without prompting.  If an existing file is 
  1290.     protected the user will be notified and prompted a second time before 
  1291.     the file is overwritten. Options are provided to override these 
  1292.     features when desired.
  1293.  
  1294.       The -i option will prompt the user for a yes or no answer before 
  1295.     moving each file.  Used with wildcards or directory names this option 
  1296.     provides an interactive method of moving files.
  1297.  
  1298.  
  1299.  
  1300.  
  1301.       In normal use MV, ignores hidden and system files and prompts
  1302.     the user before moving read only files. Hidden and system files can 
  1303.     be moved using the -a option or the -f option.  The -a option will 
  1304.     move read only, hidden and system files without prompting but will 
  1305.     still prompt the user before overwriting protected files. If the -f 
  1306.     option is used all existing files, even protected files, will be 
  1307.     overwritten without prompting the user.
  1308.  
  1309.       The -o option can be used overwrite existing files without
  1310.     prompting but will not overwrite protected files.  If the -n option
  1311.         is used, no existing files will be overwritten and the user will not
  1312.         be prompted.  The -n option overrides all other options in this 
  1313.     respect.
  1314.  
  1315.       If the -s option is used, filenames will not be echoed to the 
  1316.     screen when moving.  This option can be used with the -o, -f or -n 
  1317.     options when no screen output is desired.
  1318.  
  1319.       In normal use MV will carry over the time and date of the old file.
  1320.     If the -t option is used, the new file will be stamped with the 
  1321.     current DOS time and date. Unlike the CP command, MV will also carry 
  1322.     over the attributes of the old file.
  1323.  
  1324.  
  1325.  
  1326.  
  1327. ~mvdir
  1328.  
  1329.  
  1330.     NAME:
  1331.  
  1332.     MVDIR   Move directory and all subdirectories to new location.
  1333.  
  1334.  
  1335.     SYNTAX:
  1336.  
  1337.     mv dir1 dir2                    Moves dir1 to dir2
  1338.  
  1339.  
  1340.  
  1341.     OPTIONS:
  1342.  
  1343.     s               Move files without echoing to screen.
  1344.         ?               Display help screen.
  1345.  
  1346.  
  1347.  
  1348.     DESCRIPTION:
  1349.  
  1350.       MVDIR will move a directory and all its subdirectories to the 
  1351.     specified target. If the target directory does not exist a new 
  1352.     directory will be created. If the target directory does exist a 
  1353.     directory will be created within the target directory having the 
  1354.     same name as the old directory.
  1355.  
  1356.       MVDIR has three modes of operation totally independent of user 
  1357.     input.  If both old and new directories are in  the same parent 
  1358.     directory, MVDIR will rename the old directory.  If old and new 
  1359.     directories are not in the same parent directory but reside on the 
  1360.     same drive, MVDIR will create the new directory structure, rename 
  1361.     the files and then remove the old directory. If old and new directories
  1362.         reside on different drives MVDIR will create the new directory 
  1363.     structure, copy the files over and then remove the old files and 
  1364.     directories.  If an error occurs in this last mode, such as a disk 
  1365.     full error, MVDIR will abort and leave the old directory intact.
  1366.  
  1367.  
  1368.  
  1369. ~read
  1370.  
  1371.  
  1372.     NAME:
  1373.  
  1374.     READ      Display text in page format.
  1375.  
  1376.  
  1377.     SYNTAX:
  1378.  
  1379.     read [-f][+#]                         Displays standard input one page 
  1380.                         at a time.
  1381.  
  1382.         read [+#][+\string] file1..filen    Displays contents of files  one 
  1383.                         page at a time.
  1384.  
  1385.     read dir                Lists directory and allows user
  1386.                         to select file to be read.
  1387.  
  1388.  
  1389.     OPTIONS:
  1390.  
  1391.     -f              Store standard input in temporary file
  1392.                          before displaying.
  1393.  
  1394.         +###            Begin displaying at line ###.
  1395.  
  1396.     +\string    Begin displaying at first occurrence of string.
  1397.  
  1398.  
  1399.  
  1400.     DESCRIPTION:
  1401.  
  1402.       READ is a text file viewer which can read from STDIN like the
  1403.     DOS MORE command, or directly from a file.  For example:
  1404.  
  1405.             read < dosnix.doc
  1406.  
  1407.     and
  1408.  
  1409.             read dosnix.doc
  1410.  
  1411.     will both display DOSNIX.DOC.  Wild cards and multiple arguments
  1412.     can be used to view several files in sequence.  For example:
  1413.  
  1414.             read *.doc
  1415.  
  1416.     can be used to page through all .DOC files, and
  1417.  
  1418.             read whats.new quickref.doc
  1419.  
  1420.     will first read WHATS.NEW, then QUICKREF.DOC.
  1421.  
  1422.       
  1423.  
  1424.  
  1425.  
  1426.  
  1427.       When READ begins, it will display one page of text and then pause. 
  1428.     The user can then enter one of the following commands:
  1429.  
  1430.                 <space>         Toggle continuous scroll.
  1431.  
  1432.                 <PgDn>          Clear screen and display next page.
  1433.  
  1434.                 ^D, D, ]      Display next half page of text.
  1435.  
  1436.                 Enter or        Display next line of text.
  1437.                 Down Arrow
  1438.  
  1439.                 <PgUp>, ^B      Clear screen and display previous page.
  1440.  
  1441.                 ^U, U,  [       Move back one half page.
  1442.  
  1443.         Up Arrow    Move back one line.
  1444.  
  1445.         Right Arrow    Shift screen one tab stop right.
  1446.  
  1447.         Left Arrow    Shift screen one tab stop left.
  1448.  
  1449.                 H, Backspace    Display help page.
  1450.  
  1451.                 ^L, .           Rewrite current page.
  1452.  
  1453.                 Home            Move to beginning of file.
  1454.  
  1455.                 End or $        Move to end of file.
  1456.  
  1457.                 N             Display next file.
  1458.  
  1459.         P         Return to previous file.
  1460.  
  1461.         F4              Select new file.
  1462.  
  1463.         \, F2        Search text for string.  Ignore case.
  1464.  
  1465.         |, ShF2        Search text for string.  Match exact case.
  1466.  
  1467.         /, F3        Search text for next occurrence of string.
  1468.  
  1469.                 -###            Move back ### lines.
  1470.  
  1471.                 +###            Move forward ### lines.
  1472.  
  1473.                 ###             Move to line number ###.
  1474.  
  1475.         !        Shell to DOS.
  1476.  
  1477.                 Q, Esc             Terminate the program.
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.       The escape key can be used to interrupt text searches and exit
  1484.     the help screen.  It will also terminate the program from the main
  1485.     menu.  F10 or Del can be used in place of Esc and  ^PgUp and ^PgDn
  1486.     can be used in place of Home and End.
  1487.  
  1488.       The number of the top line is displayed on the menu bar unless 
  1489.     the end of file message is visible, then the line number displayed 
  1490.     will be the last line of the file.  Unless the file is very small, 
  1491.     you can use PgUp to realign the last page and get rid of the message. 
  1492.  
  1493.       If the number keys are used to go to a line already on the screen, 
  1494.     the screen will scroll until the line is at the top.  Otherwise the 
  1495.     screen will clear and a new page will be displayed.  
  1496.  
  1497.       READ now has a unique method of utilizing the space bar.  
  1498.     Instead of displaying one page of text and halting, pressing 
  1499.     the spacebar will cause the text to scroll until the spacebar
  1500.     is pressed again.  This allows you to halt the display at any
  1501.     desired position.  The scroll rate can be adjusted by pressing 
  1502.     the up and down arrows while the text is moving.  
  1503.  
  1504.       Don't try to control the text with the arrow keys.  Use
  1505.     them to adjust the scroll rate then control the text with the 
  1506.     spacebar.
  1507.  
  1508.  
  1509.       Text searches can be done by typing a "\" or a "|".  You will then 
  1510.     be prompted to enter a search string.  READ will begin displaying ten 
  1511.     lines before the line containing the search string and the matching 
  1512.     line will be highlighted.  The "\" command will ignore differences 
  1513.     between upper and lower case.  The "|" command will find only strings
  1514.     having the exact case as the search string.  Typing a "/" will find
  1515.     the next occurrence of the string and will work with either of the
  1516.     two previous commands. Searches can not be done when reading from 
  1517.     standard input.
  1518.  
  1519.       If +\string is used as an option, READ will search the first 
  1520.     occurrence of "string" before displaying.  For example:
  1521.  
  1522.             read +\ffind dosnix.doc
  1523.  
  1524.     will scan DOSNIX.DOC for the first occurrence of "ffind" and
  1525.     begin displaying ten lines before the first matching line.
  1526.  
  1527.       Case sensitive searches can also be initiated from the command
  1528.     line.  Because "|" is a DOS operator it will be necessary to put
  1529.     the argument in quotes.  For example:
  1530.  
  1531.         read "+|FFIND" dosnix.doc
  1532.  
  1533.       READ can handle files containing up to 30,000 lines although text
  1534.     searches can be slow on large files.
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.        
  1541.       Pressing F4 will display the current directory.  You can then
  1542.     use the arrow keys to select either a new file or a new directory.
  1543.     This mode can be entered from the command line by using a directory
  1544.     as an argument.
  1545.  
  1546.  
  1547.       When +### is used as an option, READ will begin displaying at 
  1548.     whatever line number is given after the plus sign.  For example:
  1549.  
  1550.         read +300 dosnix.doc
  1551.  
  1552.     will begin displaying at line 300.
  1553.  
  1554.  
  1555.       Output from other programs can be piped to READ using the "|"
  1556.         operator.  When displaying redirected input, search and    back scroll 
  1557.     commands are not available and lines longer than 80 columns will be 
  1558.     wrapped.  A '-f' option has been provided which will dump redirected 
  1559.     input into a temporary file before reading, making the full range of 
  1560.     commands available.  For example:
  1561.  
  1562.                         ffind -m c:\ *.* | read -f
  1563.  
  1564.         will allow the user to page through the output of FFIND which in 
  1565.     this case is a complete list of files on drive C.
  1566.  
  1567.  
  1568.       Typing "read" by itself with no arguments will echo whatever is
  1569.     typed on the keyboard.  This is also true for CAT and other 
  1570.     commands which are capable of reading STDIN.  This can be confusing  
  1571.     for novice users.  To get out of this mode type CTRL-Z followed
  1572.     by a carriage return.
  1573.  
  1574.       READ is now provided in two versions.  The standard version,
  1575.     READ.EXE will handle files containing up to 30,000 lines.  The
  1576.     large version, READXL.EXE is included in the enhanced version of
  1577.     DOSNIX and will handle files containing up to 100,000 lines.  It
  1578.     requires 350k of free memory to run.
  1579.  
  1580.  
  1581.  
  1582. ~rm
  1583.  
  1584.  
  1585.     NAME:
  1586.  
  1587.     RM      Remove file(s).
  1588.  
  1589.  
  1590.     SYNTAX:
  1591.  
  1592.     rm [-fis] file1...filen        Removes files.
  1593.  
  1594.     rm -r[fis] dir1..dirn          Completely removes directories.
  1595.  
  1596.  
  1597.  
  1598.     OPTIONS:
  1599.  
  1600.     f               Remove protected files without prompting.
  1601.         i               Remove files interactively.
  1602.         r               Recursively remove subdirectories.
  1603.         s               Remove files without echoing to screen.
  1604.  
  1605.  
  1606.  
  1607.  
  1608.     DESCRIPTION:
  1609.  
  1610.       RM is the UNIX equivalent of the MSDOS DEL command.  If a protected 
  1611.     file is specified, RM will prompt you before removing it unless the
  1612.     -f option is used.  This version of RM will display each filename as
  1613.     it is removed.  You can use the  -s option to override this feature.
  1614.  
  1615.       The -i option can be used with wildcards to allow you to pick 
  1616.     and choose which files will be removed. For example:
  1617.  
  1618.                         rm -i *.*
  1619.  
  1620.     will display each filename in the current directory and prompt you
  1621.     for a yes or no answer before deleting.
  1622.  
  1623.       The -r option is used to remove directories.  A directory cannot 
  1624.     be removed unless this option is used.  The directory along with all 
  1625.     files and subdirectories will be completely removed.  If you are using 
  1626.     RM to remove a directory on another drive, make sure that the drive is
  1627.     not logged in to the directory you are removing.  RM cannot remove the
  1628.         current directory of any drive.  
  1629.  
  1630.       If the root directory of any drive is specified, all files and
  1631.     directories on the drive will be removed.  The root directory itself 
  1632.     can not be removed.  For example:
  1633.  
  1634.             rm -r a:\
  1635.  
  1636.     will remove everything on drive A.  RM is a great tool for erasing
  1637.     floppy disks but it is also capable of wiping out your hard disk.
  1638.     Use it with care.
  1639.  
  1640.       RM will now accept multiple arguments, making it easier to clean
  1641.     up directories.  It is okay to mix file    names and directory names as 
  1642.     long as the -r option is used.
  1643.  
  1644.  
  1645.  
  1646. ~rn
  1647.  
  1648.  
  1649.     NAME:
  1650.  
  1651.     RN      Rename file or directory.
  1652.  
  1653.  
  1654.     SYNTAX:
  1655.  
  1656.  
  1657.     rn oldfile newfile              Renames oldfile to newfile.
  1658.     rn oldfile dir                  Relocates oldfile to dir.
  1659.         rn olddir  newdir               Renames olddir to newdir.
  1660.  
  1661.  
  1662.  
  1663.     OPTIONS: none
  1664.  
  1665.  
  1666.  
  1667.  
  1668.     DESCRIPTION:
  1669.  
  1670.       RN is similar to the MV command but is much more limited in scope.  
  1671.     Only one file or directory can be renamed at a time and wild cards 
  1672.     are not permitted.  Files can not be  relocated to another drive and 
  1673.     directories can only be renamed within the parent directory.  Because 
  1674.     of its small size, RN is very useful for floppy drive systems where
  1675.     space is limited.
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682. ~sgrep
  1683.  
  1684.  
  1685.     NAME:
  1686.  
  1687.     SGREP    Search text file(s) for specified string. *
  1688.  
  1689.  
  1690.  
  1691.         * Enhanced version only.
  1692.  
  1693.  
  1694.  
  1695. ~split
  1696.  
  1697.  
  1698.     NAME:
  1699.  
  1700.     SPLIT    Split a text file into several smaller files. *
  1701.  
  1702.  
  1703.  
  1704.         * Enhanced version only.
  1705.  
  1706.  
  1707.  
  1708. ~tee
  1709.  
  1710.  
  1711.     NAME:
  1712.  
  1713.     TEE     Copy standard input to standard output and file(s).
  1714.  
  1715.  
  1716.     SYNTAX:
  1717.  
  1718.     tee [-a] file1 [file2]..[file5]         Copies STDIN to STDOUT and 
  1719.                         file1..file5.
  1720.  
  1721.  
  1722.     OPTIONS:
  1723.  
  1724.     a                       Append output to specified file[s]
  1725.         s                       Suppress standard output.
  1726.  
  1727.  
  1728.     DESCRIPTION:
  1729.  
  1730.       TEE can be used with the DOS "|" operator and any command which 
  1731.     writes to standard output.  For example:
  1732.  
  1733.         cat file1 file2 | tee file3
  1734.  
  1735.     concatenates file1 and file2 while displaying them on the screen and 
  1736.     stores them in file3.
  1737.  
  1738.                  ls -lb dir1 | tee file1
  1739.  
  1740.         displays dir1 in long format and stores the output in file1.
  1741.  
  1742.           The -a option can be used to append the output to existing files.  
  1743.     If the -a option is not used, existing files will be overwritten.  
  1744.     For example:
  1745.  
  1746.                         tee -a file2 <file1
  1747.  
  1748.         displays file1 and appends it to the end of file2
  1749.  
  1750.                         tee file2 <file1
  1751.  
  1752.         displays file1 and overwrites file2.
  1753.  
  1754.           The -s option can be used to suppress standard output and write to 
  1755.     specified files only.  For example:
  1756.  
  1757.         cat source1 | tee -s file1 file2 file3
  1758.  
  1759.         will make multiple copies of source1 without displaying it on the 
  1760.     screen.
  1761.  
  1762.           TEE is meant for use with text files only and use with binary files 
  1763.     is not recommended.
  1764.  
  1765.  
  1766.  
  1767. ~tolower
  1768.  
  1769.  
  1770.     NAME:
  1771.  
  1772.     TOLOWER         Convert to lower case.
  1773.  
  1774.  
  1775.  
  1776.     SYNTAX:
  1777.  
  1778.     tolower                         Converts STDIN to lower case and 
  1779.                     writes to STDOUT.
  1780.  
  1781.  
  1782.  
  1783.     DESCRIPTION:
  1784.  
  1785.       TOLOWER is a filter which will convert all upper case characters to 
  1786.     lower case.  All other characters are left unchanged.  For example:
  1787.  
  1788.                         tolower < file1 > file2
  1789.  
  1790.         converts file1 to lower case and stores the result in file2.
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796. ~touch
  1797.  
  1798.  
  1799.     NAME:
  1800.  
  1801.     TOUCH   Modify file date and time.
  1802.  
  1803.  
  1804.  
  1805.     SYNTAX:
  1806.  
  1807.     touch [-t] [mm/dd/yy;hh:mm:ss] file1
  1808.                                                 Changes date and time of file1
  1809.  
  1810.  
  1811.  
  1812.     OPTIONS:
  1813.  
  1814.     t                       User selected time and date.
  1815.  
  1816.  
  1817.  
  1818.     DESCRIPTION:
  1819.  
  1820.       TOUCH will change the date and time of the specified file to the 
  1821.     current DOS date and time.  If the -t option is used the user can 
  1822.     supply the date and time as the next argument in the format 
  1823.     mm/dd/yy;hh:mm:ss.  If the date and time argument is omitted the 
  1824.     user is prompted to enter the  date and time of his choice.  Wildcards 
  1825.     can be used in file names.
  1826.  
  1827.  
  1828.  
  1829.  
  1830. ~toupper
  1831.  
  1832.  
  1833.     NAME:
  1834.  
  1835.     TOUPPER         Convert to upper case.
  1836.  
  1837.  
  1838.  
  1839.     SYNTAX:
  1840.  
  1841.     toupper                         Converts STDIN to upper case and 
  1842.                     writes to STDOUT.
  1843.  
  1844.  
  1845.  
  1846.     DESCRIPTION:
  1847.  
  1848.       TOUPPER is a filter which will convert all lower case characters 
  1849.     to upper case.  All other characters are left unchanged.  For example:
  1850.  
  1851.                         toupper < file1 > file2
  1852.  
  1853.         converts file1 to upper case and stores the result in file2.
  1854.  
  1855.  
  1856. ~wc
  1857.  
  1858.  
  1859.     NAME:
  1860.  
  1861.     WC        Count lines, words and characters in a file. *
  1862.  
  1863.  
  1864.  
  1865.         * Enhanced version
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.                               DISCLAIMER OF WARRANTY
  1872.  
  1873.     This software and manual are sold "as is" and without warranties as to
  1874.     performance of merchantability or any other warranties whether expressed
  1875.     or implied.  Because of the various hardware and software environments
  1876.     into which this program may be put, no warranty of fitness for a particular
  1877.     purpose is offered.
  1878.  
  1879.     Good data processing procedure dictates that any program be thoroughly
  1880.     tested with non-critical data before relying on it.  The user must assume
  1881.     the entire risk of using the program.  Any liability of the seller will be
  1882.     limited exclusively to product replacement or refund of purchase price.
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888. ~registration
  1889.  
  1890.  
  1891.           DOSNIX ver. 2.0d is the product of many hours of design, testing
  1892.         and debugging.  If you use this utility package beyond a reasonable
  1893.         period of time for evaluation, you are required to register. When 
  1894.     you register you will be sent a copy of the enhanced version of DOSNIX 
  1895.     which contains several utilities not found in this version, including 
  1896.     CPDIR, GET, SGREP, SPLIT and WC.  The fee for registration is $25.00.
  1897.     Currently registered users may upgrade at any time by sending $5.00 
  1898.     to cover shipping and handling.
  1899.  
  1900.           Copies of DOSNIX ver. 2.0d can be made and distributed provided 
  1901.         that all utilities, documentation and licensing information are 
  1902.     included.  Even if you do not use this program you are encouraged 
  1903.     to share it with your friends and to upload it to bulletin boards. 
  1904.     Shareware dealers are free to distribute this program provided that 
  1905.     they comply with the guidelines given in REGISTER.DOC.
  1906.  
  1907.           Businesses are invited to use DOSNIX on a trial basis and then to
  1908.         apply for a site license.  Please write to me at the address below
  1909.         to register or to obtain information on site licenses.
  1910.  
  1911.  
  1912.                         Gerald M. Vrooman
  1913.                         6400 NY Rt 79
  1914.                         Chenango Forks, NY
  1915.                         13746
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922. -------------------------------------------------------------------------------
  1923.  
  1924.  
  1925.                   DOSNIX  2.0d REGISTRATION
  1926.  
  1927.  
  1928.  
  1929.         NAME:     ____________________________________________________________
  1930.  
  1931.         ADDRESS:  ____________________________________________________________
  1932.  
  1933.                   ____________________________________________________________
  1934.  
  1935.                   ____________________________________________________________
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.     ____ Enhanced version of DOSNIX @ $5.00              ____________
  1943.  
  1944.  
  1945.     ____ Single user registration @ $25.00                ____________
  1946.          (Includes enhanced version.)
  1947.  
  1948.  
  1949.     ____ Basic Site License @ $65.00                      ____________
  1950.          (Up to three computers)
  1951.  
  1952.  
  1953.     ____ Additional computers @ $20.00 
  1954.          (For networks estimate the number
  1955.           of computers which  will be using
  1956.           DOSNIX)                                  ____________
  1957.  
  1958.  
  1959.  
  1960.     Total amount enclosed                                 ____________
  1961.     
  1962.  
  1963.  
  1964.  
  1965.         Please circle one:      5.25" disk      3.5" disk
  1966.  
  1967.  
  1968.  
  1969.